﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CQIE.LabAssist.Models
{
    /// <summary>
    /// 角色、功能连接表
    /// </summary>
    [Table("TB_RoleMenue")]
    public class RoleMenue
    {
        /// <summary>
        /// 功能id
        /// </summary>
        public int SysMenuId { get; set; }

        /// <summary>
        /// 对应功能
        /// </summary>
        public Menu SysMenu { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public Role role { get; set; }
    }
}
